<template>
  <footer class="web-footer">
    极客学长 © 2022- {{ year }} 版权所有
    <a href="https://beian.miit.gov.cn" target="_blank">粤ICP备19122051号-1</a>
  </footer>
</template>

<script>

export default {
  name: "WebFooter",

  computed: {
    year: function () {
      const date = new Date()
      return date.getFullYear()
    }
  },
}

</script>

<style  lang="stylus" scoped>
.web-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 45px;
  text-align: center;
}
</style>


